module(..., package.seeall)

actions = {}

actions.css = function(page, params, sputnik)
   require"colors"
   local data, e = sputnik:load_config_page(page.name, {
					       string=string,
					       table=table,
					       colors = colors,
					       ipairs = ipairs,
					       unpack = unpack,
					 })
   if e then 
      return e, "text/plain"
   else
      return cosmo.fill(data.CSS, data), "text/plain"
   end

end

